package com.four.order.controller;

import com.four.common.utils.R;
import com.four.order.service.ShopExpressService;
import com.four.order.vo.ShopExpressVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: hxw
 * @Date: 2022/1/17 20:40
 */
@RestController
@RequestMapping("order/shopExpress")
public class ShopExpressController {
    @Autowired
    private ShopExpressService expressService;


    /**
     * 生成快递 发货
     * @param shopExpressVo
     * @return
     */
    @PostMapping("deliverGoods")
    public R deliverGoods(@RequestBody ShopExpressVo shopExpressVo) {

        return expressService.deliverGoods(shopExpressVo);
    }
}
